package com.quanyan.authority.model.db;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class TbRoleMenu implements Serializable {
    private Integer id;

    //角色id
    @NotNull(message = "roleId不能为空！")
    private Integer roleId;

    //菜单id
    @NotNull(message = "menuId不能为空！")
    private Integer menuId;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }
}